/*
  公共样式
*/
@import './color';

html,
body {
  width: 100%;
  height: 100%;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.clear:after {
  display: block;
  content: "";
  clear: both;
}

.Default {
  color: $color-default;
}
.Error {
  color: $color-error;
}
.Green {
  color: $color-green;
}

.a_hover {
  cursor: pointer;
  &:hover {
    text-decoration: underline;
  }
}

.wrapper-content {
  h2 {
    margin: 10px 0;
  }
  h3 {
    margin: 8px 0;
  }
  .exampleMap {
    width: 100%;
    height: 400px;
    background-image: url(../img/map-background.jpg);
    position: relative;
    overflow: hidden;
    &.typhoonMap {
      height: 700px;
    }
  }
  .code {
    display: block;
    padding: 15px;
    background-color: #f7f7f7;
    color: #525252;
    font-size: 14px;
    .comment {
      color: #b3b3b3;
    }
    .code-emptyLine {
      padding-top: 15px;
    }
    .code-indent2 {
      text-indent: 1em;
    }
    .code-indent4 {
      text-indent: 2em;
    }
    .code-indent6 {
      text-indent: 3em;
    }
    .code-indent8 {
      text-indent: 4em;
    }
    .code-indent10 {
      text-indent: 5em;
    }
    .code-indent12 {
      text-indent: 6em;
    }
    .code-indent14 {
      text-indent: 7em;
    }
    .code-default {
      color: $color-default;
    }
    .code-tag {
      color: #3e76f6;
    }
    .code-orange {
      color: #e96900;
    }
    .code-green {
      color: #42b983;
    }
    .code-purple {
      color: #af7dff;
    }
    .code-purpleRed {
      color: #fc1e70;
    }
  }
}

